﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clandestine.Battle.Spells.Divine
{
    public class Heal : SingleTargetSpell
    {
        public override string Name
        {
            get { return "Heal"; }
        }
        public override int MPCost
        {
            get { return 15; }
        }

        public override void OnShowSpellRing()
        {
            Ticker.AddTimer((r, dR) => BattleController.SpellRing.Color = new GLColor(r, r, r, 1), SpellRingDuration);
        }

        public override BattleAnimation Cast(Combatant caster, Combatant target)
        {
            // [HARDCODE DEBUG]
            int amount = 20;

            // Animation
            return delegate
            {
                target.Heal(amount);
            };

        }
    }
}
